Further Programming
20.1 Programming Paradigms
Candidates should be able to:
- Understanding what is meant by a programming paradigm
- Show understanding of the characteristics of a number of programming paradigms:
- Low-level
Low-level Programming
understanding of and ability to write low-level code that uses various addressing modes: immediate, direct, indirect, indexed and relative
- Imperative (Procedural)
Imperative (Procedural) programming:
- Assumed knowledge and understanding of Structural Programming (see details in AS content section 11.3)
- understanding of and ability to write imperative (procedural) programming code that uses variables, constructs, procedures and functions.See details in AS content
- Object Oriented
Object-Oriented Programming (OOP)
- understanding of the terminology associated with OOP (including objects, properties/ attributes, methods, classes, inheritance, polymorphism, containment (aggregation), encapsulation, getters, setters, instances)
- understanding of how to solve a problem by designing appropriate classes
- understanding of and ability to write code that demonstrates the use of OOP
- Declarative
Declarative programming
- understanding of and ability to solve a problem by writing appropriate facts and rules based on supplied information
- understanding of and ability to write code thatcan satisfy a goal using facts and rules
20.2 File Processing and Exception Handling
Candidates should be able to:
- Write code to perform file-processing operations
Notes and guidance
Open (in read, write, append mode) and close a file Read a record from a file and write a record to a file Perform file-processing operations on serial, sequential, random files
- Show understanding of an exception and the importance of exception handling
Notes and guidance
Know when it is appropriate to use exception handling Write program code to use exception handling